package com.dsg.dao.apply;

import com.dsg.entity.apply.DsgApplyDiscount;
import com.dsg.entity.dto.CardDiscountDto;
import com.dsg.util.BaseDao;

import java.util.List;

/**
 * <p>
 * 折扣資料 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2020-07-10
 */
public interface DsgApplyDiscountMapper extends BaseDao<DsgApplyDiscount> {
    /**
     * 油咭折扣記錄
     * @param cardOids
     * @param effDateBegin
     * @param effDateEnd
     * @return
     */
    List<CardDiscountDto> cardDiscount(String cardOids, String effDateBegin, String effDateEnd);

}
